#!/usr/bin/python
#coding:utf-8

#字符串
# name = "adv lovelace"
# print(name.title())
# print(name.upper())
# print(name.lower())

#字符串拼接
first_name = "ada"
last_name = "lovelace"
full_name = first_name +" "+ last_name
print(full_name)

message = "Hello," + full_name.title() + "!"
print(message)

#字符串添加空白
print("Python")

print("\tPython")

print("Languages:\nPython\nC\nJavaScripy")

print("Languages:\n\tPython\n\tC\n\tJavaScripy")


#删除空白
favorite_language = 'python '
print(favorite_language)


favorite_language.rstrip()
print(favorite_language)